package com.kevin.jetcache;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.concurrent.CountDownLatch;

/**
 * @author Kevin Liu
 * @date 2020/8/14 上午9:50
 */
@SpringBootApplication
@EnableMethodCache(basePackages = "com.kevin.jetcache.service")
@EnableCreateCacheAnnotation
public class JetCacheApplication {

    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(JetCacheApplication.class,args);
        new CountDownLatch(1).await();
    }
}
